'use strict';
const { logger } = require('ee-core/log');
const { systemService } = require('../service/systemService')

class SystemServiceController {
    async getSysRunState() {
        let result = await systemService.getSysRunState()
        return result
    }

    /**
     * 设置壁纸服务
     * */
    async setWallpaper(){
        let result = await systemService.setWallpaper()
        return result
    }

    /**
     * 获取本机壁纸地址信息
     * */
    async getWallpaper(){
        let path = await systemService.getWallpaper()
        return path
    }
}

SystemServiceController.toString = () => '[class SystemServiceController]';

module.exports = SystemServiceController;